package com.un10.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.un10.entity.Product;

public interface ProclassMapper {
	public int getCount111();// ������
	// ��ѯ
	public List<Product> getAllProduct111(@Param("page") int page, @Param("limit") int limit,
			@Param("proName") String proName,	@Param("startPro") String startPro);
	public Integer edit(Map<String, Object> map);
	
	public Integer ProductAdd(Map<String, Object> map);

	 public Integer ProductUpdate(Map<String, Object> map); 

	public Integer  ProductDelete(@Param("proID") int proID);
	//前台查询
	public List<Product> getAllProductxiangqing(@Param("proName") String proName);
	//getAllProductFenglei 商品分类跳转
	public List<Product> getAllProductFenglei(@Param("className") String className);
	
	
	public int getCount();// ������
	// ��ѯ
	public List<com.un10.entity.Proclass> getAllProclass(@Param("page") int page, @Param("limit") int limit,
			@Param("className") String className);
	//���
	public Integer ProclassAdd(Map<String, Object> map);
    //�޸�
	public Integer  ProclassUpdate(Map<String, Object> map);
    //ɾ��
	public Integer  ProclassDelete(@Param("catID") int catID);

}
